table.FILE_MODE_GET Function

Syntax

Mode as N = File_Mode_Get()

Description

Get the sharing mode of the file the table.

Discussion

The <TBL>.FILE_MODE_GET()returns the Mode in which the table referenced by <TBL> was opened. Possible values for Mode are:

16 (Read only, exclusive)
18 (Read/write, exclusive)
64 (Read only, shared)
66 (Read/write, shared)
dim tbl as P
tbl = table.open("Functions", FILE_RW_EXCLUSIVE)
? tbl.file_mode_get()
= 18.000000

See Also